package com.fxp.project.jiuselu.web.business.v1.request.cart;

import com.fxp.project.jiuselu.web.base.request.ReqBase;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class ReqLogistic extends ReqBase {
    /**
     * 地区Id
     */
    @NotNull(message = "区域Id不能为空")
    private Long areaId;
    /**
     * 配置的物流区域
     */
    @NotNull(message = "产品物流配置不能为空")
    private Long logisticId;
    /**
     * 购买商品总重量
     */
    private BigDecimal attrWeight;

    /**
     * 商品id
     */
    private String goodsId;

    //0立即下单1购物车
    private Integer type;
}
